home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 8650 < prev    next >
Mailbox/MIME Entity  |  1996-08-05  |  1.6 KB

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: Mailbox/MIME Entity (archive/mbox).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert Newsgroup Content (archive/news) magic Supported
100% dexvert Mailbox/MIME Entity (archive/mbox) magic Supported
100% dexvert Internet Message Format (text/imf) magic Supported
1% dexvert Text File (text/txt) fallback Supported
100% file news, ASCII text default
100% checkBytes Printable ASCII default
100% dexmagic PrintFox/Pagefox WEAK default
100% perlTextCheck Likely Text (Perl) default
100% siegfried fmt/950 MIME Email (1.0) default
100% detectItEasy Format: plain text[LF] default (weak)
100% xdgMime message/news default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 50 61 74 68 3a 20 6c 61 | 64 65 2e 6e 65 77 73 2e |Path: la|de.news.|
|00000010| 70 69 70 65 78 2e 6e 65 | 74 21 70 69 70 65 78 21 |pipex.ne|t!pipex!|
|00000020| 62 74 21 75 73 65 6e 65 | 74 0a 46 72 6f 6d 3a 20 |bt!usene|t.From: |
|00000030| 64 61 74 68 6f 6d 61 73 | 40 74 79 6d 6e 65 74 2e |dathomas|@tymnet.|
|00000040| 62 74 2e 63 6f 2e 75 6b | 20 28 44 61 76 69 64 20 |bt.co.uk| (David |
|00000050| 27 41 6c 77 79 6e 27 20 | 54 68 6f 6d 61 73 29 0a |'Alwyn' |Thomas).|
|00000060| 4e 65 77 73 67 72 6f 75 | 70 73 3a 20 63 6f 6d 70 |Newsgrou|ps: comp|
|00000070| 2e 6c 61 6e 67 2e 63 2c | 67 6e 75 2e 67 63 63 2e |.lang.c,|gnu.gcc.|
|00000080| 68 65 6c 70 2c 63 6f 6d | 70 2e 75 6e 69 78 2e 70 |help,com|p.unix.p|
|00000090| 72 6f 67 72 61 6d 6d 65 | 72 0a 53 75 62 6a 65 63 |rogramme|r.Subjec|
|000000a0| 74 3a 20 52 65 3a 20 48 | 65 6c 70 20 66 6f 72 20 |t: Re: H|elp for |
|000000b0| 75 73 69 6e 67 20 62 63 | 6f 70 79 20 66 75 6e 63 |using bc|opy func|
|000000c0| 74 69 6f 6e 0a 44 61 74 | 65 3a 20 35 20 4d 61 72 |tion.Dat|e: 5 Mar|
|000000d0| 20 31 39 39 36 20 31 38 | 3a 32 36 3a 31 34 20 47 | 1996 18|:26:14 G|
|000000e0| 4d 54 0a 4f 72 67 61 6e | 69 7a 61 74 69 6f 6e 3a |MT.Organ|ization:|
|000000f0| 20 42 54 20 4c 6f 6e 64 | 6f 6e 20 53 6f 66 74 77 | BT Lond|on Softw|
|00000100| 61 72 65 20 45 6e 67 69 | 6e 65 65 72 69 6e 67 20 |are Engi|neering |
|00000110| 43 65 6e 74 72 65 20 61 | 74 20 43 69 74 79 20 46 |Centre a|t City F|
|00000120| 6f 72 75 6d 0a 4d 65 73 | 73 61 67 65 2d 49 44 3a |orum.Mes|sage-ID:|
|00000130| 20 3c 34 68 69 31 30 36 | 24 36 75 74 40 70 68 65 | <4hi106|$6ut@phe|
|00000140| 69 64 69 70 70 69 64 65 | 73 2e 61 78 69 6f 6e 2e |idippide|s.axion.|
|00000150| 62 74 2e 63 6f 2e 75 6b | 3e 0a 52 65 66 65 72 65 |bt.co.uk|>.Refere|
|00000160| 6e 63 65 73 3a 20 3c 54 | 41 4e 4d 4f 59 2e 39 36 |nces: <T|ANMOY.96|
|00000170| 4d 61 72 32 31 31 35 39 | 30 32 40 71 63 64 2e 6c |Mar21159|02@qcd.l|
|00000180| 61 6e 6c 2e 67 6f 76 3e | 0a 52 65 70 6c 79 2d 54 |anl.gov>|.Reply-T|
|00000190| 6f 3a 20 64 61 74 68 6f | 6d 61 73 40 74 79 6d 6e |o: datho|mas@tymn|
|000001a0| 65 74 2e 62 74 2e 63 6f | 2e 75 6b 0a 4e 4e 54 50 |et.bt.co|.uk.NNTP|
|000001b0| 2d 50 6f 73 74 69 6e 67 | 2d 48 6f 73 74 3a 20 31 |-Posting|-Host: 1|
|000001c0| 34 37 2e 31 35 30 2e 31 | 39 33 2e 32 31 34 0a 4d |47.150.1|93.214.M|
|000001d0| 69 6d 65 2d 56 65 72 73 | 69 6f 6e 3a 20 31 2e 30 |ime-Vers|ion: 1.0|
|000001e0| 0a 43 6f 6e 74 65 6e 74 | 2d 54 79 70 65 3a 20 74 |.Content|-Type: t|
|000001f0| 65 78 74 2f 70 6c 61 69 | 6e 3b 20 63 68 61 72 73 |ext/plai|n; chars|
|00000200| 65 74 3d 55 53 2d 41 53 | 43 49 49 0a 43 6f 6e 74 |et=US-AS|CII.Cont|
|00000210| 65 6e 74 2d 54 72 61 6e | 73 66 65 72 2d 45 6e 63 |ent-Tran|sfer-Enc|
|00000220| 6f 64 69 6e 67 3a 20 37 | 62 69 74 0a 0a 49 6e 20 |oding: 7|bit..In |
|00000230| 61 72 74 69 63 6c 65 20 | 3c 54 41 4e 4d 4f 59 2e |article |<TANMOY.|
|00000240| 39 36 4d 61 72 32 31 31 | 35 39 30 32 40 71 63 64 |96Mar211|5902@qcd|
|00000250| 2e 6c 61 6e 6c 2e 67 6f | 76 3e 2c 20 74 61 6e 6d |.lanl.go|v>, tanm|
|00000260| 6f 79 40 71 63 64 2e 6c | 61 6e 6c 2e 67 6f 76 20 |oy@qcd.l|anl.gov |
|00000270| 28 54 61 6e 6d 6f 79 20 | 42 68 61 74 74 61 63 68 |(Tanmoy |Bhattach|
|00000280| 61 72 79 61 29 20 77 72 | 69 74 65 73 3a 0a 20 0a |arya) wr|ites:. .|
|00000290| 3e 20 41 54 3a 20 57 68 | 61 74 20 74 68 65 20 65 |> AT: Wh|at the e|
|000002a0| 6e 71 75 69 72 65 72 20 | 6e 65 65 64 73 20 74 6f |nquirer |needs to|
|000002b0| 20 64 6f 20 69 73 20 74 | 6f 20 61 64 64 20 74 68 | do is t|o add th|
|000002c0| 65 20 6c 69 6e 65 3a 0a | 3e 20 41 54 3a 20 0a 3e |e line:.|> AT: .>|
|000002d0| 20 41 54 3a 20 65 78 74 | 65 72 6e 20 62 63 6f 70 | AT: ext|ern bcop|
|000002e0| 79 28 29 3b 0a 3e 20 41 | 54 3a 20 0a 3e 20 41 54 |y();.> A|T: .> AT|
|000002f0| 3a 20 61 74 20 74 68 65 | 20 74 6f 70 20 6f 66 20 |: at the| top of |
|00000300| 65 76 65 72 79 20 73 6f | 75 72 63 65 20 66 69 6c |every so|urce fil|
|00000310| 65 20 69 6e 20 77 68 69 | 63 68 20 62 63 6f 70 79 |e in whi|ch bcopy|
|00000320| 28 29 20 69 73 20 63 61 | 6c 6c 65 64 2e 0a 3e 20 |() is ca|lled..> |
|00000330| 0a 3e 20 57 68 79 3f 0a | 0a 0a 4f 6e 20 42 53 44 |.> Why?.|..On BSD|
|00000340| 20 76 65 72 73 69 6f 6e | 73 20 6f 66 20 55 4e 49 | version|s of UNI|
|00000350| 58 20 28 74 68 6f 73 65 | 20 74 68 61 74 20 70 72 |X (those| that pr|
|00000360| 6f 76 69 64 65 20 62 63 | 6f 70 79 28 29 2c 20 62 |ovide bc|opy(), b|
|00000370| 7a 65 72 6f 28 29 20 65 | 74 63 2e 29 20 68 61 76 |zero() e|tc.) hav|
|00000380| 65 20 0a 68 65 61 64 65 | 72 20 66 69 6c 65 73 20 |e .heade|r files |
|00000390| 62 75 69 6c 74 20 74 6f | 20 77 6f 72 6b 20 77 69 |built to| work wi|
|000003a0| 74 68 20 27 43 6c 61 73 | 73 69 63 27 20 28 4b 65 |th 'Clas|sic' (Ke|
|000003b0| 72 6e 69 67 68 61 6e 20 | 61 6e 64 20 52 69 63 68 |rnighan |and Rich|
|000003c0| 69 65 29 20 43 2c 20 77 | 68 69 63 68 0a 6e 65 69 |ie) C, w|hich.nei|
|000003d0| 74 68 65 72 20 72 65 71 | 75 69 72 65 73 20 6e 6f |ther req|uires no|
|000003e0| 72 20 61 6c 6c 6f 77 73 | 20 66 75 6c 6c 20 66 75 |r allows| full fu|
|000003f0| 6e 63 74 69 6f 6e 20 70 | 72 6f 74 6f 74 79 70 65 |nction p|rototype|
|00000400| 73 2e 20 4d 61 6e 79 20 | 66 75 6e 63 74 69 6f 6e |s. Many |function|
|00000410| 73 2c 20 6c 69 6b 65 0a | 62 63 6f 70 79 28 29 20 |s, like.|bcopy() |
|00000420| 61 72 65 20 6e 6f 74 20 | 64 65 63 6c 61 72 65 64 |are not |declared|
|00000430| 20 61 74 20 61 6c 6c 20 | 69 6e 20 74 68 65 73 65 | at all |in these|
|00000440| 20 68 65 61 64 65 72 20 | 66 69 6c 65 73 2c 20 61 | header |files, a|
|00000450| 6e 64 20 77 68 65 72 65 | 20 61 20 63 6f 6d 70 69 |nd where| a compi|
|00000460| 6c 65 72 0a 72 65 71 75 | 69 72 65 73 20 74 68 61 |ler.requ|ires tha|
|00000470| 74 20 61 20 66 75 6e 63 | 74 69 6f 6e 20 62 65 20 |t a func|tion be |
|00000480| 64 65 63 6c 61 72 65 64 | 20 62 65 66 6f 72 65 20 |declared| before |
|00000490| 69 74 20 69 73 20 75 73 | 65 64 2c 20 74 68 65 20 |it is us|ed, the |
|000004a0| 75 73 65 72 20 68 61 73 | 20 74 6f 20 64 6f 0a 69 |user has| to do.i|
|000004b0| 74 20 68 69 6d 73 65 6c | 66 20 6f 72 20 68 65 72 |t himsel|f or her|
|000004c0| 73 65 6c 66 2e 0a 0a 4f | 6e 20 74 68 65 20 77 68 |self...O|n the wh|
|000004d0| 6f 6c 65 2c 20 74 68 69 | 73 20 69 73 20 6d 6f 72 |ole, thi|s is mor|
|000004e0| 65 20 6e 65 63 65 73 73 | 61 72 79 20 69 6e 20 43 |e necess|ary in C|
|000004f0| 2b 2b 20 74 68 61 6e 20 | 69 6e 20 43 2e 0a 0a 49 |++ than |in C...I|
|00000500| 20 6e 65 65 64 20 74 6f | 20 65 6d 70 68 61 73 69 | need to| emphasi|
|00000510| 73 65 20 74 68 61 74 20 | 73 6f 6d 65 20 6f 70 65 |se that |some ope|
|00000520| 72 61 74 69 6e 67 20 73 | 79 73 74 65 6d 73 20 6d |rating s|ystems m|
|00000530| 61 79 20 6e 6f 74 20 69 | 6d 70 6c 65 6d 65 6e 74 |ay not i|mplement|
|00000540| 20 62 63 6f 70 79 28 29 | 20 69 6e 20 0a 74 68 65 | bcopy()| in .the|
|00000550| 69 72 20 6c 69 62 72 61 | 72 69 65 73 2c 20 69 6e |ir libra|ries, in|
|00000560| 20 77 68 69 63 68 20 63 | 61 73 65 20 74 68 65 20 | which c|ase the |
|00000570| 6c 69 6e 6b 65 72 20 77 | 69 6c 6c 20 63 6f 6d 70 |linker w|ill comp|
|00000580| 6c 61 69 6e 20 6f 66 20 | 61 6e 20 75 6e 64 65 66 |lain of |an undef|
|00000590| 69 6e 65 64 20 73 79 6d | 62 6f 6c 2e 0a 41 73 20 |ined sym|bol..As |
|000005a0| 6f 74 68 65 72 73 20 68 | 61 76 65 20 70 6f 69 6e |others h|ave poin|
|000005b0| 74 65 64 20 6f 75 74 2c | 20 74 68 65 20 41 4e 53 |ted out,| the ANS|
|000005c0| 49 20 73 74 61 6e 64 61 | 72 64 20 43 20 66 75 6e |I standa|rd C fun|
|000005d0| 63 74 69 6f 6e 73 20 6d | 65 6d 6d 6f 76 65 28 29 |ctions m|emmove()|
|000005e0| 20 61 6e 64 20 6d 65 6d | 63 70 79 28 29 0a 61 72 | and mem|cpy().ar|
|000005f0| 65 20 61 6c 77 61 79 73 | 20 61 76 61 69 6c 61 62 |e always| availab|
|00000600| 6c 65 20 77 68 65 72 65 | 20 74 68 65 72 65 20 69 |le where| there i|
|00000610| 73 20 73 74 61 6e 64 61 | 72 64 20 43 2c 20 72 65 |s standa|rd C, re|
|00000620| 67 61 72 64 6c 65 73 73 | 20 6f 66 20 74 68 65 20 |gardless| of the |
|00000630| 6f 70 65 72 61 74 69 6e | 67 0a 73 79 73 74 65 6d |operatin|g.system|
|00000640| 2e 0a 0a 0a 41 6c 77 79 | 6e 0a 0a 0a |....Alwy|n... |
+--------+-------------------------+-------------------------+--------+--------+